package com.ruoyi.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.ruoyi.util.OurBaseEntity;
import lombok.Data;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

import java.util.Date;

import com.fasterxml.jackson.annotation.JsonFormat;

/**
 * 未审核文章草稿箱对象 uncheck_draft
 *
 * @author ruoyi
 * @date 2025-09-14
 */
@Data
@TableName("uncheck_draft")
public class UncheckDraft extends OurBaseEntity
{
    private static final long serialVersionUID = 1L;

    /** id */
    @TableId(value = "article_id", type = IdType.AUTO)
    private Long articleId;

    /** 标题 */
    @Excel(name = "标题")
    @TableField(value = "title")
    private String title;


    /** 文章来源 */
    @Excel(name = "文章来源")
    @TableField(value = "article_origin")
    private String articleOrigin;

    /** 部门名称 */
    @Excel(name = "部门名称")
    @TableField(value = "dept_name")
    private String deptName;

    /** 栏目id */
    @Excel(name = "栏目id")
    @TableField(value = "column_id")
    private Long columnId;

    /** 内容 */
    @Excel(name = "内容")
    @TableField(value = "content")
    private String content;

    /** 责任编辑 */
    @Excel(name = "责任编辑")
    @TableField(value = "author")
    private String author;

    /** 封面路径 */
    @Excel(name = "封面路径")
    @TableField(value = "cover_path")
    private String coverPath;

    /** ip 地址 */
    @Excel(name = "ip 地址")
    @TableField(value = "ip")
    private String ip;

    /** pubdate 审核日期*/
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "审核日期", width = 30, dateFormat = "yyyy-MM-dd")
    @TableField(value = "pubdate")
    private Date pubdate;

    /** 审核通过表 */
    @Excel(name = "审核通过表")
    @TableField(value="appval")
    private String appval;


    /** 副标题1 */
    @TableField(value="little_title1")
    @Excel(name = "副标题1")
    private String littleTitle1;

    /** 副标题2 */
    @TableField(value="little_title2")
    @Excel(name = "副标题2")
    private String littleTitle2;

    /** 状态（0-草稿 1-已发布） */
    @Excel(name = "状态", readConverterExp = "0=草稿,1=已发布")
    @TableField(value = "status")
    private Integer status;

    /** 有效期 */
    @Excel(name = "有效期")
    @TableField(value = "valid_date")
    private String validDate;

    /** 开始审核日期 */
    @TableField(exist = false)
    private String beginPubdate;

    /** 结束审核日期 */
    @TableField(exist = false)
    private String endPubdate;

    /** 附件路径 */
    @Excel(name = "附件路径")
    @TableField(value="attachment")
    private String attachment;

}